#!/usr/bin/env bash

project_path=$(cd `dirname $0`; cd .. ; pwd)
cd $project_path

# 项目名称
projectName=$1
branchName=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')

expect 1_AutoArchive/4.1_upload_ipa.exp $projectName $projectName$branchName.ipa $project_path || exit
